<template>
  <div>
    Mix -- {{ num }}
  </div>
</template>

<script>
import index from '@/mixin'
export default {
    name: "mixin-com",
    data() {
        return {
            num: 888
        }
    },
    mixins: [index],
    created() {
        console.log('我是组件中的生命周期')
    }
}
</script>

<style>

</style>